package com.yyj.web.protocol.req;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

@Data
public class WeixinAuthReq {

    @NotEmpty(message = "code不能为空")
    private String code;

    @NotEmpty(message = "encryptedData不能为空")
    private String encryptedData;

    @NotEmpty(message = "iv不能为空")
    private String iv;

    @Override
    public String toString() {
        return "WeixinAuthReq{" +
                "code='" + code + '\'' +
                ", encryptedData='" + encryptedData + '\'' +
                ", iv='" + iv + '\'' +
                '}';
    }
}
